<html>
    <head>
        <title>tableau javascript</title>
    </head>
    <body>
        <script type="text/javascript">
            var tab = new Array(4);
            tab[0]=12;
            tab[1]="coucou";
            tab[15]=12,5;
            document.write(tab.length);
            document.write(tab);
            tab.push("10"); 
            document.write("<br />");
            var tab = new Array;
            var i;
            for (i=0;i<5;i++)
                tab[i]=2*i;
            for (i=0;i<5;i++)
                document.write(tab[i]);
        </script>
    </body>
</html>